<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', 'WelcomeController@index');

// 获取文件
Route::get('file/fetch', [
    'as' => 'FilePull',
    'uses' => 'StorageController@getFile'
]);

//获取短信
Route::post('captcha/smscode', [
	'as' => 'CaptchaSmsCode',
	'uses' => 'CaptchaController@getSmsVcode'
]);

load_routes(app_path('Http/Routes'));